﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace HtmlExtractor.Config
{
    public class CaptureInfo
    {
        public string Name
        { get; set; }
        public string OutputProcessorName;
        public CaptureInfo()
        { }
        public CaptureInfo(XElement captureNode)
        {
            if (captureNode != null)
            {
                Name = (string)captureNode.Attribute("name");
                OutputProcessorName = (string)captureNode.Attribute("captureProcessor");
            }
        }
    }
}
